import Vue from 'vue';
import Vuex from 'vuex';
import mutations from "./mutations";
import getters from "./getters";
import actions from "./actions";

Vue.use(Vuex);



const state = {
  count:1,
  proList:[
    {name:"A",price:100},
    {name:"B",price:200},
    {name:"C",price:300},
    {name:"D",price:400},
  ],

};

export default new Vuex.Store({
  state,
  mutations,
  getters,
  actions
});
